home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000321_fdc@columbia.edu_Mon Feb 17 19:39:46 EST 2003.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
3KB
|
65 lines
Article: 14117 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Running multiple kermit scripts on one connection
Date: 17 Feb 2003 19:39:13 -0500
Organization: Columbia University
Lines: 48
Message-ID: <b2rvbh$nnc$1@watsol.cc.columbia.edu>
References: <775a2ab0.0302171458.f8f21f9@posting.google.com> <b2rrbl$ks3$1@watsol.cc.columbia.edu> <3E517E98.D89D779C@bom.gov.au>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1045528754 20253 128.59.39.139 (18 Feb 2003 00:39:14 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 18 Feb 2003 00:39:14 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14117
In article <3E517E98.D89D779C@bom.gov.au>,
Bruce Stewart <b.stewart@bom.gov.au> wrote:
:
: --------------0E4B00F8CCF00119C91BFB8D
: Content-Type: text/plain; charset=us-ascii
: Content-Transfer-Encoding: 7bit
:
: OK, that second method sounds like it would do the job. I will give it a try
: but first I want to ask you another question.
:
: I have been looking at the documentation and found the following under
: Command-line options:
:
: -l _number
:
: where number refers to the Windows device handle for a communication
: connection that has already been opened by another process.
:
I thought of suggesting that but to be frank :-) I don't know if Windows
device handles are valid only within a process tree, or system-wide.
I suppose it's worth a shot.
: I tried the following to test it:
: 1-I opened a kermit instance, and opened a connection to com port
: 2, which is where the modem is connected.
: 2-I then tried to open another instance of kermit using the follwoing
: line:
: run k95 -l _\v(ttyfd),
:
: but got the following respose when the other kermit instance opened:
:
: "can't open device",
:
: Now, I don't know whether the file descriptor is the same as the
: windows device handle. Maybe they are totally different. I will try doing
: it from the program, opening a device handle and passing that into each
: kermit instance. Hopefully that will work.
:
Either the process handle is not valid or else you can't have the same
device opened for read/write access by two different processes.
Somebody else might answer later with better information.
Another possibility, of course, is to configure the modem to ignore DTR and
Kermit to ignore CD. Then you can open and close the port all you like, but
then it's no longer straightforward to catch broken connections, and you
can no longer hang up a connection simply by closing the port.
- Frank